package com.example.administrator.yuejian_2.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian_2.R;
import com.makeramen.roundedimageview.RoundedImageView;

/**
 * Created by Administrator on 2017/10/2.
 */

public class MaListVH extends RecyclerView.ViewHolder {
    public RoundedImageView mapic;
    public TextView matype;
    public TextView maname;
    public TextView malikesum;
    public ImageButton malike;
    public View itemView;

    public MaListVH(View itemView) {
        super(itemView);

        this.itemView = itemView;
        mapic = itemView.findViewById(R.id.ma_pic);
        matype = itemView.findViewById(R.id.ma_type);
        maname = itemView.findViewById(R.id.ma_name);
        malikesum = itemView.findViewById(R.id.ma_likesum);
        malike = itemView.findViewById(R.id.ma_like);
    }
}
